Use PECanCloseEngine to determine whether or not the Crystal Report Engine can be closed. Use this function before calling PECloseEngine, to verify that the engine is no longer processing print jobs. If the Crystal Report Engine closes while a print job is still running, an error can occur in your application or on the user's system.
BOOL CRPE_API PECanCloseEngine (void);
Declare Function PECanCloseEngine Lib "crpe32.dll" () As Integer
function PECanCloseEngine:
Bool stdcall;
EXTERN CLOGICAL PECanCloseEngine () CRPE.DLL
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |